package controller.monster
{
	import enums.monster.MonsterPageType;
	
	import org.robotlegs.mvcs.StarlingCommand;
	
	import view.event.monster.LargeMonsterViewEvent;
	
	
	/**
	 * 请求返回大型怪物列表
	 * @author £iang
	 * 
	 */	
	public class BackToLMonsterListViewCommand extends StarlingCommand
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		//-----------------------------
		// properties
		//-----------------------------
		
		//-----------------------------
		// setter&getter
		//-----------------------------
		
		//-----------------------------
		// methods
		//-----------------------------
		
		/**
		 * 执行函数 
		 * 
		 */		
		override public function execute():void
		{
			var largeMonsterViewEvent:LargeMonsterViewEvent = 
				new LargeMonsterViewEvent( LargeMonsterViewEvent.SCROLLER_PAGE );
			
			largeMonsterViewEvent.newPage = MonsterPageType.LIST_TYPE;
			dispatch( largeMonsterViewEvent );
			
		}
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function BackToLMonsterListViewCommand()
		{
			super();
		}
	}
}